<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title></title>
    </head>
    <body>
        <?php
     $numero = "opc 2" ;
    
     switch ($numero){
         case "opc 1" :
             echo 'opção 1:';
             break;
         case "opc 2" :
             echo 'opc 2:';
             break;
         default :
             echo 'opção inválida';
     }    
  
        ?>
    </body>
</html>
